An expectation-maximization algorithm for estimating the parameters of the correlated binomial distribution