Scattering approach to the von Klitzing effect