chemical charactistics of wastewater