Resource distributions among habitats determine solitary bee offspring production in a mosaic landscape.