Anionic polymeric bonds in transition metal ditellurides