Inhomogeneous waves in viscoelastic media