Characteristics of wastewater and mixed liquor and their role in membrane fouling.