Formability of ABX3 (X = F, Cl, Br, I) halide perovskites.