Text this: Structural modulation and assembling of metal halide perovskites for solar cells and light‐emitting diodes