Incompressible smoothed particle hydrodynamics modeling of thermal convection