Nonadiabatic molecular dynamics study of the cis-trans photoisomerization of azobenzene excited to the S1 state.