Characteristics of HfO2 and SiO2 on p-type silicon wafers using terahertz spectroscopy