Changes in charge density vs changes in formal oxidation states: The case of Sn halide perovskites and their ordered vacancy analogues