The energy decay problem for hyperbolic equations of second order with dissipative terms