Optical coupling at a distance between detuned spherical cavities