MnCl2 doping increases phase stability of tin halide perovskites