Ultrasonic phased array imaging and data post processing with applications to resistance spot welding