Bayesian model averaging via mixture model estimation