The effect of synthesis media on the properties of substituted polyaniline/chitosan composites.