Self-supervised learning-based two-phase flow regime identification using ultrasonic sensors in an S-shape riser