Capture of carbon dioxide by an ion-exchange resin: Influence of gas humidity on capture mechanisms