Electrochemical oxidation of chlorinated phenols