Measurement of wall thickness of tubes and closed hollow objets