Two patterns of speciation