Towards an on-line biochemical oxygen demand analyser