Refinements in the method of structure analysis of polytypes and determination of crystal structures of 21 new CdI2 polytypes