Action-angle variables and adiabatic invariance in Hamiltonian systems