A comprehensive evaluation of the non gray gas thermal radiation using the line-by-line model in one- and two-dimensional enclosures