Experimental studies on a combined pyrolysis/staged condensation/ hydrotreatment approach to obtain biofuels and biobased chemicals