A new and effective antibiotic becomes widely used for a particular species of bacteria. After some time, an antibiotic-resistant strain of the bacteria becomes prevalent. Which mechanism explains this phenomenon?