Synthesis and applications of sulfonated polyaniline