Velocity-selective optical pumping and Doppler-free spectroscopy