The effect of sperm production and mate availability on patterns of alternative mating tactics in the guppy