Wettability changes and mass loss during heat treatment of wood