Mathematical modelling of quorum sensing in bacteria.