Influence of the phase structure of nitrides and properties of nitrided layers on the durability of tools applied in hot forging processes