Size-dependent shifts of the Néel temperature and optical band-gap in NiO nanoparticles