Structural Properties and Reversible Deuterium Loading of MgD2–TiD2 Nanocomposites