On the role of metal cations in CO2 electrocatalytic reduction