Alloys based on nickel or cobalt based on nickel with chromium {and Mo or W with the maximum Cr content being at least 40%}