Diffusion Models for Tabular Data Imputation and Synthetic Data Generation