Effect of zinc doping on the structural and magnetic properties of nanostructured nickel and copper ferrite