A regenerative metal–organic framework for reversible uptake of Cd(ii): from effective adsorption to in situ detection | Synapse