Stereocontrolled synthesis of substituted tetrahydrofurans