COD fractionation of pulp and paper mill wastewaters