Polyaniline treated with organic acids: doping characteristics and stability