Hydrological controls on the functional ecology of riparian plant communities