Chemical Tuning of TiO2 Nanoparticles and Sintered Compacts for Enhanced Thermoelectric Properties