Electrochemical method for dissolved oxygen consumption on-line in tubular photobioreactor