Range and strength of interatomic forces: dispersion and induction contributions to the bonds of dications and of ionic molecules