CO2-switchable polymer-hybrid silver nanoparticles and their gas-tunable catalytic activity