Fluid—particle heat transfer in fixed and fluidized beds