Reversible extrusion and uptake of HCl molecules by crystalline solids involving coordination bond cleavage and formation.