Photocatalytic sensor for the determination of chemical oxygen demand using flow injection analysis