Measurement of dissolved oxygen