Magnetic switching in Ni/Cu(110)-(2 × 1)O induced by CoPc