Mechanistic studies of lanthipeptide biosynthesis