Improved adhesion of TiN deposited on prenitrided steels