Chemical models of advanced oxidation processes