Estimation of the temperature of the exhaust gas treatment apparatus