Sensing and capture of toxic and hazardous gases and vapors by metal-organic frameworks.