Modeling of formation of nanoparticles in reverse micellar systems: Ostwald ripening of silver halide particles