On the origin of species by sympatric speciation