Supramolecular complexation and enantiodifferentiating photocyclodimerization of 2-anthracenecarboxylic acid with 4-aminoprolinol derivatives as chiral hydrogen-bonding templates.