derive mean and variance of geometric distribution