Within the forebrain, the structure that plays a key role in the release of hormones by the pituitary gland is the: