Spherical tensor theory of long-range intermolecular forces