Discharge voltage measurements during reactive sputtering of oxides