Bacterial flagellation and cell division