Dynamics of Functionally Graded Beams on Viscoelastic Foundation