Sex differences in the intergenerational inheritance of metabolic traits