Synthesis and regioselectivity of the [3,3]-sigmatropic rearrangement of substituted 2-allylthio- and 2-allylseleno-1,4-dihydropyridines