Infrared and Raman spectra and the band structure of yttrium trifluoride YF3