Photochemistry of anthracene acetic acid in solution and in protein matrix