Thermal stability of nanometer-sized NiO and Sm-doped ceria powders