Background velocity inversion with a genetic algorithm