Effect of the Incorporation of Titanium on the Optical Properties of ZnO Thin Films: From Doping to Mixed Oxide Formation