Microbial warfare and the evolution of symbiosis