What is one of the main factors that affects the rate of transpiration in plants?