Photoisomerization mechanisms from trans, trans-1,4-diphenyl-1,3-butadiene: CASSCF on-the-fly trajectory surface hopping dynamic simulations.