Analysis of a vaccine model with cross-immunity: when can two competing infectious strains coexist?