A process for producing lignin and volatile compounds from hydrolysis liquor