The photocyclization of N-acyl-2-nitrodiphenylamines to phenazine N-oxides: scope and mechanism