Effect of the size of x-ray coherent-scattering regions on the electrical parameters of semiconducting SmS