relationship between light intensity and temperature