Mechanisms for the metabolic control of puberty