Study of sequences of thermo-chemical treatments for the optimization of biorefinery for fast-growing crops and agricultural waste