Bound-state spectrum of the hydrogen atom in strong magnetic fields