Advanced oxidation processes (AOP) for water purification and recovery