Lattice dynamics of PdDxand PdHx