Magnetic phase transition in Co/Cu/Ni/Cu(100) and Co/Fe/Ni/Cu(100).