Variable length transform-limited pulses from a stabilized synchronously-pumped mode-locked laser