The effect of thickness on the properties of Ti-doped ZnO films by simultaneous r.f. and d.c. magnetron sputtering