A versatile MOF-based trap for heavy metal ion capture and dispersion