Critical flux determination in two MBRs for municipal wastewater treatment