Autothermal pyrolysis of lignocellulose wastes to sugars and other biobased products