Emergence of resistance often reflects evolutionary processes that take place during antibiotic therapy