Control of wood thermal treatment and its effects on decay resistance: a review