Mean temperature field in two-cell convective flow