Ultrasound-assisted method for determination of chemical oxygen demand