Free convection over a nonisothermal body in a porous medium with viscous dissipation