A proximal diffusion strategy for multi-agent optimization with sparse affine constraints