Dinitriles bearing AIE-active moieties: synthesis, E/Z isomerization, and fluorescence properties.