Application of a new coordination compound for the preparation of AgI nanoparticles