Photochemical reaction of 9-nitro-substituted anthracene-like molecules 9-methyl-10-nitroanthracene and 12-methyl-7-nitrobenz[a]anthracene.