Structural aspects of the polyaniline family of electronic polymers