Regularity and chaos in the center of mass motion of the hydrogen atom in a magnetic field