How pituitary gland control the function of the testes and ovaries