Nitrogen removal in a real-time controlled sequencing batch membrane bioreactor.