Investigation of the chemical modifications of beech wood lignin during heat treatment