THERMAL CONVERSION OF LIGNIN-RICH RESIDUES FROM LIGNOCELLULOSE BIOREFINING: FROM THERMOGRAVIMETRY TO UPDRAFT GASIFICATION