Dynamic Analysis of Functionally Graded Timoshenko Beams in Thermal Environment Using a Higher-Order Hierarchical Beam Element