Explain how stomates help maintain homeostasis within the leaf.