Mass transfer in the flow of gases through shallow fluidized beds