Layer inversion and mixing of binary solids in two- and three-phase fluidized beds