Electrophilic cyclization reaction of gem-difluoroolefin derivatives: Syntheses of 6,6-difluorotetrahydro-2-pyrones and 2,2-difluorotetrahydropyran via halogen induced cyclization.