Energy spectra of ions sputtered from elements by O+2: A comprehensive study