Characterizing molecular dynamics of polymer glass and gel phase transitions as a function of time, temperature, and concentration using nuclear magnetic resonance