Thermoelectric effects in solid-state polyelectrolytes