Submerged macrophytes affect the temporal variability of aquatic ecosystems