X-ray diffraction study of the solubility of low molecular substances in polymers