Characterisation of thermally modified wood: molecular reasons for wood performance improvement