Synthesis and size control of NiO nanoparticles by water-in-oil microemulsion