First-principles study on the structural, electronic and optical properties of vacancy-ordered double perovskites Cs2PtI6 and Rb2PtI6