Growth and fabrication of sputtered TiO2 based ultraviolet detectors