Protolytic photodissociation of hydroxyaromatic compounds in micelles and lipid bilayer membranes of vesicles