Multifunctional durable solid-state thermoelectric sensor enabled by interstitial Co doping in Mg3(Sb, Bi)2 | Synapse