High performance magnesium-based plastic semiconductors for flexible thermoelectrics | Synapse