A Geometric Singular Perturbation approach to epidemic compartmental models