Analytical Solutions of Viscoelastic Nonlocal Timoshenko Beams