A simple method for preparing a TiO2-based back-gate controlled N-channel MSM–IGFET UV photodetector