Characterization of birefringent material using polarization-controlled terahertz spectroscopy.