Solubility of carbon dioxide in molten salts