Ultrahigh-Resolution Direct-Frequency-Comb Spectrometer