Role of coagulation in membrane filtration of wastewater for reuse