Local-field effect on the hybrid ferromagnetic-diamagnetic response of opals with Ni nanoparticles