Electrical properties of Ti/TiN films prepared by chemical vapor deposition and their applications in submicron structures as contact and barrier materials