All-green Cs4CuSb2Cl12 perovskite films deposited in situ by AACVD and their doping with F- ions for photodetectors and memdiodes.