Analysis of population structure in R using finite and infinite Bayesian mixture models