The effects on operation conditions of sludge retention time and carbon/nitrogen ratio in an intermittently aerated membrane bioreactor (IAMBR).