Environmental and genetic influences on mating strategies along a replicated food availability gradient in guppies (Poecilia reticulata)