Why do atoms emit light of different colors