Charge-controlled switchable CO2 capture on boron nitride