X-ray analysis of poly-N-epoxypropylcarbazole