Pareto Optima and Nash Equilibrium: an Effective Approach to the Shape Design in Electromagnetics