A biogenetically patterned conversion of palmatine into polycarpine