Deuteron NMR spectroscopy as a probe of the stereochemistry of biosynthetic reactions: the biosynthesis of lupanine and sparteine