Fiber-based frequency combs with millihertz-level relative linewidths for optical lattice clocks