The two brain structures concerned directly with maintenance of homeostasis include certain nuclei in the brainstem and the _____.