Riemann surface of quasimomentum and scattering theory for the perturbed Hill operator