Effect of microstructural changes in copper during the electrochemical conversion of CO2 to hydrocarbons