N-Methylation and Trideuteromethylation of Amines via Magnesium-Catalyzed Reduction of Cyclic and Linear Carbamates.