Stochastic dependence with discrete copulas