Whole-genome SNP genotyping unveils ancestral and recent introgression in wild and domestic goats