Structural properties of polyaniline protonated with heteropolyacids