Boltzmann vs. non-Boltzmann (non-linear) thermometry - Yb3+-Er3+ Activated Dual-mode thermometer and Phase Transition sensor via Second Harmonic Generation