Ion acceleration in Ar–Xe and Ar–He plasmas. I. Electron energy distribution functions and ion composition