Why does the hydrogen spectrum have four lines?