Mathematical Models of Functionally Graded Beams in Temperature Field