Photochemical reaction of nitroanthracene derivatives in polymethyl methacrylate