Optimization by a genetic algorithm of the light-extraction efficiency of a GaN light-emitting diode