Uniform energy decay of Schrödinger equations with variable coefficients