Temperature effects on the radiative recombination in self-assembled quantum dots