Radiative decay in semiconductor quantum dots at finite temperatures