On the origins of hardness of Cu–TiN nanolayered composites