Palladium-mediated cyclopentanation of alkenes bearing a nucleophilic substituent. Stereochemistry and mechanism.