A theoretical method for determining basic parameters for the short-range order of amorphous ternary alloys, using X-ray diffraction