Energies, polarization, and polarizabilities of molecules interacting at long or intermediate range