Online residence time distribution measurement of thermochemical biomass pretreatment reactors