Thermodynamic potential for scalar fields in space-time with hyperbolic spatial part