Electrochemical oxidation of arsenopyrite in chloride solutions