Local normal forms for geodesically equivalent pseudo-Riemannian metrics