Determination of the argon spectral function from (e,e'p) data