Funds help cities reduce phosphorus in wastewater