Electrochemical carbon dioxide capture to close the carbon cycle