Ancient DNA, genetic history, and evolutionary aspects of immune responses