Approximation of the posterior distribution of mixture weights using Variational Bayes