Natural Convection in Nonhomogeneous Heat-Generating Media: Comparison of Continuum and Porous-Continuum Models