Electron transfer from H2 and Ar to stored multiply charged argon ions produced by synchrotron radiation.