MADiff: Offline Multi-agent Learning with Diffusion Models