18O study of the mechanism of formation of nitrones and azoxy compounds