Model of quorum sensing in Gram positive bacteria mediated by two component regulatory systems and modulated by peptide pheromones