Mixing and segregation in fluidized bed thermochemical conversion of biomass