Ab initio adiabatic and diabatic energies and dipole moments of the KH molecule