Aggravation of membrane fouling and methane leakage by a three-phase separator in an external anaerobic ceramic membrane bioreactor