Coupling of soot oxidation and ammonia-mediated selective catalytic reduction of nitrogen oxides