Organic synthesis using the migrating functional groups diphenylphosphinoyl and phenylthio