A variational framework for inferring population structure from SNP genotype data.