Quantum-mechanical calculation of the van der Waals interaction between small metallic spheres