Molecular driving forces for Z/E isomerization mediated by heteroatoms: the example hemithioindigo.