Electronic and optical properties of vacancy ordered double perovskites A2BX6 (A = Rb, Cs; B = Sn, Pd, Pt; and X = Cl, Br, I): a first principles study