DFT and k · p modelling of the phase transitions of lead and tin halide perovskites for photovoltaic cells | Synapse