Pathways for conversion of the beta carbon of serine to the N-methyl group of nicotine