Tailoring the Heterostructure of Colloidal Quantum Dots for Ratiometric Optical Nanothermometry