Electroactive polyaniline films