Convex regions of Lorentzian manifolds