Absolute distance measurement with a gain-switched dual optical frequency comb