Change of adiabatic invariant at separatrix crossing; application to slow hamiltonian chaos