Effect of carbon nanoscaffolds on hydrogen storage performance of magnesium hydride