Analysis of sugars and phenolic compounds in bio-oil