Kinetic and mechanistic studies of NEt3-catalyzed intramolecular aminolysis of carbamate.