How does a leaf protect itself from unwanted intruders like bacteria from getting in and stopping important reactants from going out?