NMR reaction monitoring during the development of an active pharmaceutical ingredient