Activation and deactivation of cobalt catalysts in the hydrogenation of carbon dioxide