Functionally graded ceramics