Optical phonons in PdHxand PdDxby superconducting tunneling measurements