Photochemical Behavior of Some p‐Styrylstilbenes and Related Compounds: Spectral Properties and Photoisomerization in Solution and in Solid State