A simple thermodynamic tool for assessing energy requirements for carbon capture using solid or liquid sorbents