Epidemiological models in actuarial mathematics