Scattering approach to parametric pumping