Strategy for highly sensitive optical ratiometric temperature measurement