A solution-processed ternary copper halide thin films for air-stable and deep-ultraviolet-sensitive photodetector.