The theory of molecular attractive forces between solids