Equilibrium thermodynamics and the genesis of protein–protein complexes in cells