Competitive and Cooperative CO2-H2O Adsorption through Humidity Control in a Polyimide Covalent Organic Framework