Decision-making and action selection in honeybees: a theoretical and experimental study