Stability of an abstract system of coupled hyperbolic and parabolic equations