GPD: Guided Polynomial Diffusion for Motion Planning