Electrochemical oxidation of thiocyanate in a two-phase electrolyte