Luminescent nanothermometry using short-wavelength infrared light