Evolutionary algorithms applied to Landau-gauge fixing