How and why bacteria talk to each other