Spectroscopic, transport, and morphological studies of polyaniline doped with inorganic acids