Stability of amorphous Cu/Ta and Cu/W alloys