Photoelectrochemical oxidation of organic substrates in organic media