Generic properties of critical points of the scalar curvature for a Riemannian manifold