San Francisco awards $939M wastewater treatment plant upgrade contract