Ultrasonic study of the elastic properties of functionally graded and equivalent monolithic composites