Heteroatom-Doped Graphenes as Actively Interacting 2D Encapsulation Media for Mg-Based Hydrogen Storage.