Numerical Simulations Of Cavitating Bubbles In Elastic And Viscoelastic Materials For Biomedical Applications