Analysis of a disease transmission model with two groups of infectives