A stochastic diffusion approach to signal denoising