Pulsed-source spectral-domain optical coherence tomography with reduced motion artifacts