Template effects and supramolecular control of photoreactions in solution.