Electrostatic Control of Macrocyclization Reactions within Nanospaces.