Improvement of tool life of die-casting tools with duplex treatment