Lattice dynamics of BaFBr