The adaptation of bacterial cultures during the lag phase in media containing new substrates or antibacterial agents