Modeling and Optimization of Membrane Bioreactors and Moving Bed Biofilm Reactor‐Membrane Bioreactors