Adaptation of Freshwater Ecosystems to Agricultural Contaminants