P–N switchable thermoelectric ionogels enabled by microphase separation for intelligent thermal sensing | Synapse