Endocrine basis of reproductive function