Theoretical study on the hydrogen storage mechanism of the Li–Mg–N–H system