Quasi-periodic invariant tori and retrieval of Near-Earth Asteroids using low-energy trajectories