Reaction Pathways in the Photochemical Conversion of Diphenylamines to Carbazoles