Foaming in membrane bioreactor: identification of causes