Global analysis of multi-strains SIS, SIR and MSIR epidemic models