Preparation and characterization of magnetic and non-magnetic nanosized spinel oxides, Nickel nanoparticles and Nickel-polymer nanocomposites