Electrolyte-induced phase transitions in micellar systems. Proton and carbon-13 nuclear magnetic resonance relaxation and photochemical study