Nanoconfinement and catalytic dehydrogenation of ammonia borane by magnesium-metal-organic-framework-74.