Role of organic matter, nitrogen and phosphorous on granulation and settling velocity in wastewater treatment