Atomic spectra and the Bohr theory of hydrogen