Theory of the m=1 kink mode in toroidal plasmas