Catalysis of dynamical symmetry breaking by a magnetic field