Long distance measurement with femtosecond pulses using a dispersive interferometer