Action-angle variables in quantum mechanics