Lattice dynamics and electronic properties of the scintillator host material: Barium hafnate