Anion Diffusion in Two-Dimensional Halide Perovskites