Influence of thickness on the crystallography and surface topography of TiN nano-films deposited by reactive DC and pulsed magnetron sputtering