Explicit versus implicit method for radiative heat transfer in gray and diffuse enclosures