The bright-line spectrum of an element is produced when excited-state electrons