Palladium-palladium oxide pH electrodes