Determination of structure functions in (e,e'p) reactions