Generation of the second harmonic of laser radiation in noncentrosymmetrical polymeric systems