Global stability of an epidemiological model with relapse and delay