define probability density function of uniform distribution