Layout design of wave energy parks by a genetic algorithm