Relating electronic structure to thermoelectric device performance