Electron capture into different (nl) states in slow collisions of Ne8+ projectiles on He and H2 targets