Polyiodides and polytellurides: Analogies and differencies