Long-range Rydberg-atom–ion molecules of Rb and Cs