Electronic and magnetic properties of the Co/Fe(001) interface and the role of oxygen