The role of electrode wettability in electrochemical reduction of carbon dioxide