Electrically tunable thermal conductivity in thermoelectric materials: Active and passive control