Elucidating The Origins Of Hysteresis And Reaction Mechanisms Of Electrode Materials For Li And Na Batteries.