Process for conversion of carbon dioxide and power into fuels and chemicals