Constrained parameter estimation with uncertain priors for Bayesian networks