Lattice dynamics and structure of GeTe, SnTe and PbTe