CGD: Constraint-Guided Diffusion Policies for UAV Trajectory Planning