Catalysis of photochemical reactions. Opportunities and pitfalls