Metal halide perovskites for generation, manipulation and detection of light. (2023)