Potential curves and rovibrational energies for electronic states of the molecular ion KCs