Deposition of titanium nitride/tungsten layers for application in vertically integrated circuits technology