Thermodynamic analysis of sorption reactions for the removal of sulfur from hot gases