Photochemical dehydrocyclization of aromatic compounds via elimination of hydrogen atoms. Formation of heterocycles