Numerical study of heat transfer and buoyancy effects in mixed convective turbulent pipe flow