Method and apparatus for examining the interior materials of an object, such as a pipeline or human body from a surface of the object using ultrasound