Population genetic keys to speciation