Thermodynamics and selectivity of two-dimensional metallo-supramolecular self-assembly resolved at molecular scale.