Optimizing Diffusion Models for Joint Trajectory Prediction and Controllable Generation | Synapse