Recent progress in layered metal halide perovskites for solar cells, photodetectors, and field-effect transistors | Synapse