Forces between heavy nuclei in the independent-particle model