Nonlinear viscoelastic and viscoplastic constitutive equations with growing damage