An Effective Synthesis of N,N-Dimethylamides from Carboxylic Acids and a New Route from N,N-Dimethylamides to 1,2-Diaryl-1,2-diketones.