A computational model of viscoplasticity and ductile damage for impact and penetration