Genomic variation in seven Khoe-San groups reveals adaptation and complex African history.