Identification of wastewater sludge characteristics to predict critical flux for membrane bioreactor processes.