Static multipole polarizability of atoms and ions in the Thomas-Fermi model