Dairy quality management promotes economic and environmental gains