Palladium-Mediated Intramolecular Formation of a C-S Bond: Application to the Selective Syntheses of Six- and Seven-Membered Sulfur-Containing Heterocycles