Environmental effects on community productivity of aquatic macrophytes are mediated by species and functional composition