Electrochemical conversion of CO2 to CO in organic electrolyte with Cl2 and NaHCO3 produced as byproducts