Gravar-mail: Intramolecular Pd-Catalyzed Carboetherification and Carboamination. Influence of Catalyst Structure on Reaction Mechanism and Product Stereochemistry