Structural and Compositional Changes during Hydrogenation/Dehydrogenation of the Li−Mg−N−H System