How bees choose a queen