Effects of processing parameters on the properties of tantalum nitride thin films deposited by reactive sputtering