NMR spectra of systems with restricted motion: Cross-linked polymer gels