Planar-integrated single-crystalline perovskite photodetectors | Synapse