Understanding Noncovalent Interactions in Force Fields through Quantum Mechanics: Application to Gas Adsorption in Metal-Organic Frameworks