Stable and flexible perovskite quantum dot photodetectors via small-molecule organic encapsulation and nano-grating structure | Synapse