Adsorption and Detection of Hazardous Trace Gases by Metal–Organic Frameworks