Variance of bernoulli distribution