pmf of discrete uniform distribution