Determination of cesium ion–rare gas potentials from total cross section measurements