Structure and properties of plasma-polymerized thin films of polyaniline