Faster and more accurate simulations of thermoelectric generators through the prediction of the optimum load resistance for maximum power and efficiency points