The economics of sex differentials