MICROMECHANICAL FEM MODELING OF THERMAL STRESSES IN FUNCTIONALLY GRADED MATERIALS