How do the circulatory system and endocrine system interact in helping to maintain homeostasis in humans?