Size and spatial homogeneity of semiconductor quantum dots in amorphous matrix was studied by x-ray small-angle scattering and x-ray diffraction