Investigation of membrane fouling in an anaerobic membrane bioreactor (AnMBR) treating pharmaceutical wastewater