Effect of Thickness and Substrates on the Mechanical Properties of Tantalum and Tantalum Nitride Thin Films