Dual-comb spectroscopy for solid-state physics and extension toward time-resolved measurement