Room-temperature stable CsPbI3 perovskite quantum dots prepared by layer-by-layer assembly for photonic synapse