An integrated approach to wastewater treatment :Deciding where, when, and how much to invest.