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