Measurement of the K−p → KOn cross section from 1 to 3 GeVc