Controlling sludge retention time to alleviate inhibition of nitrosation and nitration by accumulated aluminum in an A/O-MBR