On the determination of the Sun's motion from radial velocities