Bayesian Learning of Sum-Product Networks