High-Q enhancement of attractive and repulsive optical forces between coupled whispering-gallery-mode resonators