mean and variance of discrete uniform distribution