Compositional analysis of bivariate discrete probabilities