basic steps of wastewater treatment