The invention provides methods of treating a bacterial infection in a mammal comprising administering to the mammal a compound of formula I:
wherein A, B, and X have any of the meanings defined in the specification; or a pharmaceutically acceptable salt thereof, as well as novel compounds of formula I and salts thereof and pharmaceutical compositions comprising a compound of formula I or a pharmaceutically acceptable salt thereof.