Electrochemical oxidation of cupferron