A novel simultaneous coupling of memory photocatalysts and microbial communities for alternate removal of dimethyl phthalate and nitrate in water under light/dark cycles.