Influence of order-disorder effects on the magnetic and optical properties of NiFe2O4 nanoparticles