Rapid and precise method for the determination of the chemical oxygen demand of factory effluent samples