Surprising impact of remote groups on the folding--unfolding and dimer-chain equilibria of bifunctional H-bonding unimers.