Interactions between bee foraging and floral resource phenology shape bee populations and communities.