Ultrasonic Measurement of Texture of Cubic and Hexagonal Materials