Reliability of rare-earth-doped infrared luminescent nanothermometers