Azopyridine-based chiral oxazolines with rare-earth metals for photoswitchable catalysis.