Measurements of ion energy distributions by Doppler shift spectroscopy in an inertial-electrostatic confinement device