An inferential measure of dependence between two systems using Bayesian model comparison