Tunable electrical properties of TaNx thin films grown by ionized physical vapor deposition