Photoassisted Synthesis of Complex Polyheterocycles via ESIPT-Driven Dearomative Intramolecular Cycloadditions