Adiabatic bistable evolution of dynamical systems governed by a Hamiltonian with separatrix crossing