Investigating the enzymatic mechanisms of the inverting and retaining glycosyltransferases by NMR spectroscopy