A portable photoelectrochemical probe for rapid determination of chemical oxygen demand in wastewaters.