Volume measurement by ultrasonic transverse or sagittal cross-sectional scanning