Flexible thermoelectrics: from silver chalcogenides to full-inorganic devices