which gland in the endocrine system is involved in goiter dysfunction and explain the effect of hormonal imbalance