Influence of dielectric constant of polymerization medium on processability and ammonia gas sensing properties of polyaniline