Weighted Riemannian Curvature-Dimension Criterion