Oxygen stoichiometry in PdO_xand PdO_x/Pt electrode layers during processing of ferroelectric and high-epsilon perovskites