Cross section measurements of (p,{gamma}) reactions on Pd isotopes relevant to the p process