Hybrid Genetic Algorithm and Simulated Annealing for Function Optimization