Dental caries diagnosis using terahertz spectroscopy and birefringence