Studies towards the synthesis of tetrahydrofuran tetrahydropyran and piperdine containing natural products lobocrasol formosalide flavoxate and terpene alkaloids