Joint Model-based Model-free Diffusion for Planning with Constraints