Diffusion Models for Future Networks and Communications: A Comprehensive Survey