Microstructure and gas-sensing properties of nanocrystalline NiFe2O4 prepared by spray pyrolysis