Genetic constraints on the evolution of sexual size dimorphism