Influence of thermal dispersion on spontaneous imbibition process in a homogeneous porous medium