A performance evaluation of three membrane bioreactor systems: aerobic, anaerobic, and attached-growth.