Self-powered UV photodetectors based on CsPbCl3 nanowires enabled by the synergistic effect of acetate and lanthanide ion passivation