Thermal treatment of wood: analysis of the obtained product