Goal-Conditioned Imitation Learning Using Score-based Diffusion Policies