Stimulus-responsive adsorbent materials for CO2 capture and separation