Influence of n-type nickel ferrite in enhancing the AC conductivity of optimized polyaniline-nickel ferrite nanocomposite