Two-grid genetic algorithm full-waveform inversion