Phased array ultrasonic S-scan testing of near-detection-surface defects based on a background subtraction algorithm