On Analyzing Generative and Denoising Capabilities of Diffusion-based Deep Generative Models