Sedimentation and diffusion of polyelectrolytes. Part I. Theoretical description