A selective synthesis of 3-alkyl-4-halotetrahydropyrans via the titanium tetrahalide promoted cyclization of unsaturated acetals