On the Stability of Molecules in the Thomas-Fermi Theory