A templating guest sorts out a molecular triangle from a dimer–trimer constitutional dynamic library