Understanding antibiotic resistance in bacteria through molecular dynamics simulations