Preparation and Investigation of TiO2, SnSx, and SnO2 Thin Film Properties for Use as UV Detectors