Charge density waves and structural modulations in polytelluride compounds