Characteristics of tar formation during cellulose, hemicellulose and lignin gasification