Thermal reduction of nitrogen oxides in exhaust gases of diesel engines