Method and plant for heat treatment in fluidized bed