Solid-state NMR study of spin dynamics and local disorder in smart polymers: PDMAEMA