Controlling the evolution of antibiotic resistance