TiF3 catalyzed MgH2 as a Li/Na ion battery anode