A nested mixture model for genomic prediction using whole-genome SNP genotypes