which gland of the endocrine and nervous system controls the other glands in the body?