A novel route to optically active dihydropyrans and 3-methylenetetrahydrofurans