Transverse and Longitudinal Optic Mode Study in MgF2and ZnF2