The lattice dynamics and thermodynamics of the Mg2SiO4 polymorphs