Smoothing sparse contingency tables: a graphical bayesian approach.