First-principles calculation of the structural, electronic, and magnetic properties of cubic perovskite RbXF3 (X = Mn, V, Co, Fe)