Spin-crossover modification through selective CO2 sorption.