Factors associated with acquisition of Pseudomonas aeruginosa resistant to gentamicin