What is the relationship between the temperature of a star and the spectrum of the star?