Dielectric constant measurement of thin films by differential time-domain spectroscopy