Surface acoustic wave depth profiling of functionally graded material