Lattice dynamics and elastic properties of zinc-blende MgS