Kernel Density Estimation Via Diffusion Model