Photoisomerization of all-cis-1,6-diphenyl-1,3,5-hexatriene in the solid state and in solution: a simultaneous three-bond twist process.