Theory of the Hall effect in quantum wires: Effects of scattering.