From oxides to selenides and sulfides: The richness of the CdI2 type crystallographic structure for thermoelectric properties