Membrane bioreactor configurations for enhanced biological phosphorus removal