Optimization of the efficiency of tandem solar cellsusing simulated annealing