Polymerization of N,N-dimethylacrylamide in cholesteric mesophase