Cutset Sampling for Bayesian Networks