Electronic structure calculations on Cu(110) and Ni (110) films with p(2 × 1) oxygen overlayers