Nonlinear dynamics of gas bubbles in viscoelastic media