Carbon nanohoops as attractive toughening and lubricant agents in TiN porous films