Phenotypic delay: mechanistic models and their implications for the evolution of resistance to antibiotics