Measuring voltages or currents with a combination of oxygen pumping cells and oxygen concentration cells