Use of N,N-dimethylaniline end-functional polymers in photoinduced block copolymerization