X-ray diffraction study of the kinetics of stacking faults in polytypic crystals of cadmium iodide and the structure determination of nine new polytypes