how do the hypothalamus and pituitary gland interact to control the release of the some of the hormones in the endocrine system ​