The Evolution of Bacterial Plasmids