The formation of nickel ferrite