Speciation occurs gradually when populations are reproductively isolated by geographic barriers