Comparisons between MgH2-and LiH-containing systems for hydrogen storage applications