How does equilibrium constant relate to chemical equilibrium?