Photochemical Electrocyclic Ring Closure and Elimination Reactions of N-(Oxothioxanthenyl)Naphthothiophene Carboxamides