Using Dirichlet mixture model to detect concomitant changes in allele frequencies