Coupling of the evolution strategy algorithm and genetic algorithm with finite element mesh adaptation