Effect of Ni2+ as a codopant on the structure, morphology, and conductivity of nanostructured polyaniline