Compound-nucleus reactions between oxygen ions and 18O, 12C, 14C targets