Temperature dependence of polarons in a harmonic quantum dot