Calibration studies for quantitative x-ray photoelectron spectroscopy of ions