A model of resource partitioning between foraging bees