Comparative study of lignin fractionation by ultrafiltration and selective precipitation