Thermodynamic analysis on carbon dioxide capture by Electric Swing Adsorption (ESA) technology