Decoherent histories and nonadiabatic quantum molecular dynamics simulations