Learning the structure of Bayesian networks from incomplete data using a mixture model