Analysis of crosslinked and entangled polymer networks as studied by nuclear magnetic resonance