Formation of nanocrystalline NiFe2O4