Gas-Phase Chemical Equilibrium at Constant Pressure or Constant Volume