under what 2 conditions will an electron transition within an atom show up as a line in the bright line spectrum?