A Simulation Study of Hydrogen in Metal–Organic Frameworks