Cooperation in the dark: signalling and collective action in quorum-sensing bacteria