Resonant states of the hydrogen atom in strong magnetic fields