High-accuracy long-distance measurements in air with a frequency comb laser