The dependence of the temperature profile in a CD-R and its optical properties on the dye layer thickness