Fighting nutrient pollution with precision farming