Behavior of the heat capacity CV at the liquid-vapor critical point and in the two-phase region of a thermodynamic system