The interaction of platinum with oxygen