Thin-film lithium-niobate electro-optic platform for spectrally tailored dual-comb spectroscopy