Leveraging Graph Diffusion Models for Network Refinement Tasks