Optimization of Cu-based catalyst for the electrocatalytic reduction of CO2 to fuels