Impact of membrane configuration on fouling in anaerobic membrane bioreactors