method of moments estimator bernoulli