A Small Infrared Target Detection Method Based on Coarse-to-Fine Segmentation and Confidence Analysis