Quorum-sensing control of antibiotic resistance stabilizes cooperation in Chromobacterium violaceum