Stereospecific 1,2 migration reactions during fluorination of 2-methoxy-2-methoxycarbonyl-3-hydroxytetrahydropyrans and the corresponding triflates