Stereocontrolled Cyclofunctionalisations of Double Bonds through Heterocyclic Intermediates