Reaction of allylic thioethers with elemental sulfur