Bayesian selection of log-linear models