Surface and mechanical characterization of TaN–Ag nanocomposite thin films