Detecting ancient positive selection in humans using extended lineage sorting