How do the feedback mechanisms help organisms to maintain homeostasis in order to reproduce and survive?