Hydrides of early transition metals as catalysts and grain growth inhibitors for enhanced reversible hydrogen storage in nanostructured magnesium