Oxygen complexes of nickel and palladium. Formation, structure, and reactivities