Investigation of fundamental molecular parameters of polyaniline films