Lattice dynamics and phonon dispersion in Hg2Br2 model ferroelastic crystals