Electrical and optical properties of nickel ferrite/polyaniline nanocomposite | Synapse