Climate change mitigation for agriculture: water quality benefits and costs.