Uniform decay rates for second-order hyperbolic equations with variable coefficients