Stability for second order abstract evolution equations