First-principles investigation of structural, electronic, and optical properties of cubic halide perovskite RbSrI3