Secondary ion emission from transition metals during exposure to oxygen and subsequent sputtering