Global stability of multi-group viral models with general incidence functions