CARD: Classification and Regression Diffusion Models