Layer-by-layer assembling TiO2 film from anatase TiO2 sols as the photoelectrochemical sensor for the determination of chemical oxygen demand