The dynamic response of optical oxygen sensors and voltammetric electrodes to temporal changes in dissolved oxygen concentrations