Genetic adaptation to captivity can occur in a single generation