The shapes of galaxy clusters