Self-powered ultraviolet photodetectors based on selectively grown ZnO nanowire arrays with thermal tuning performance.