Aerobic and anaerobic bacterial respiration monitored by electrodes