Bayesian inference on mixture models and their applications