Relationships of stomatal morphology to the environment across plant communities