NMR spectroscopy: a versatile tool for the investigation of organic reaction mechanisms and metabolomics analyses