Ab initio calculation of the KRb dipole moments