Structure determination of CdS and ZnS nanoparticles: direct modeling of synchrotron-radiation diffraction data.