Enhanced solubility of carbon dioxide for encapsulated ionic liquids in polymeric materials