Stereochemically controlled synthesis of spirocyclic lactones and ethers from -methyl-4-piperidone and 3-quinuclidinone by phenylthio migration