Bayesian inference for non-decomposable graphical models