case study how do bacteria become resistant