Electrochemical and spectroscopic insights into the electroreduction of carbon dioxide to value added chemicals