Developmental sexual dimorphism and the evolution of mechanisms for adjustment of sex ratios in mammals