Synthesis of tetrahydropyrans from sugar lactones