A selection-migration model in population genetics