Fabrication of self-assembled polyaniline films by doping-induced deposition