Photoinduced electron transfer reactions in heterocyclic chemistry