Structural and electrical properties of crystals of substituted polyaniline