Nonvolatile Perovskite‐Based Photomemory with a Multilevel Memory Behavior | Synapse