Photochemical reactions in organized monolayer assemblies. I. Cis-trans isomerization of thioindigo dyes