Dairy farmers are investing to manage their environmental impact