Evolution and tinkering: the molecular genetics of bacterial adaption