Diffusion-CAD: Controllable Diffusion Model for Generating Computer-Aided Design Models