Efficient integration technique for generalized viscoplasticity coupled to damage