Photorefractive polymers. 2. Structure design and property characterization