CCS: Controllable and Constrained Sampling with Diffusion Models via Initial Noise Perturbation