Effect of thermal processing conditions on the intrinsic oxidation states and mechanical properties of polyaniline films