Metal resistance in bacteria