A lattice Boltzmann formulation to the analysis of radiative heat transfer problems in a participating medium