Study of spectral and fluorescent properties and isomerization of merocyanines containing nitrile groups as acceptors