The effect of thickness on the properties of titanium films deposited by dc magnetron sputtering