Metal-organic frameworks as effective sensors and scavengers for toxic environmental pollutants