Ricci curvature and betti numbers