Nonuniform stability of damped contraction semigroups