Kinetics of the formation of space-charge field in photorefractive polymers