Generalist Models in Medical Image Segmentation: A Survey and Performance Comparison with Task-Specific Approaches